import request from '@/utils/request';

export async function reqTyMedicineStoreList(data: any, options?: any): Promise<any> {
	return request('/api/v1/medicineStore/list', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqAddTyMedicineStore(data: any, options?: any): Promise<any> {
	return request('/api/v1/medicineStore/create', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqUpdateTyMedicineStoreStatus(data: any, options?: any): Promise<any> {
	return request('/api/v1/medicineStore/updateMedicineStatus', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqUpdateTyMedicineStore(data: any, options?: any): Promise<any> {
	return request('/api/v1/medicineStore/update', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqDeleteTyMedicineStore(data: any, options?: any): Promise<any> {
	return request('/api/v1/medicineStore/delete', {
		method: 'POST',
		data,
		...(options || {}),
	});
}


